﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderList.aspx.cs" Inherits="com.huigo.Admin.Web.order.OrderList" 
    MasterPageFile="~/Main.Master" %>

<%@ Register Assembly="AspnetPagerV1" Namespace="AspnetPagerV1" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link type="text/css" href="/css/thickbox.css" rel="stylesheet" />

<script type="text/javascript" src="/js/thickbox.js"></script>
    <script type="text/javascript" src="/date/date.js"></script>
    <!--[if IE]><script type="text/javascript" src="/date/jquery.bgiframe.js"></script><![endif]-->
    <script type="text/javascript" src="/date/jquery.datePicker.js"></script>

    <link rel="stylesheet" type="text/css" href="/date/datePicker.css" />
    
    <script type="text/javascript">
        Date.firstDayOfWeek = 0;
        Date.format = 'yyyy-mm-dd';
        $(function() {
            $('.date-pick').datePicker({ clickInput: true, createButton: false, startDate: "2009-01-01", endDate: new Date().addDays(180).asString() });
        });
    </script>
    <script type="text/javascript">
        $(function() {
            $("tbody tr").click(function() {
                OnSelect($(this));
            });
        });
    </script>

    <div id="wrapper">
        <div class="content">
            <div class="infowrap">
                <div class="infobox">
                    <h3>
                        <span>查询条件</span>
                    </h3>
                    <form id="Form1" runat="server">
                    <p class="youhave">
                        订单号<asp:TextBox ID="orderName" runat="server"></asp:TextBox>&nbsp;&nbsp;
                        保单号<asp:TextBox ID="proName" runat="server"></asp:TextBox>&nbsp;&nbsp;
                        保单被投保人<asp:TextBox ID="proInsName" runat="server"></asp:TextBox>&nbsp;&nbsp;
                        经销商<asp:TextBox ID="custName" runat="server"></asp:TextBox>&nbsp;&nbsp;<br/><br/>
                        订单时间<asp:TextBox ID="beginDate" runat="server" class="date-pick" Columns="10"></asp:TextBox>&nbsp;&nbsp;
                        <asp:TextBox ID="endDate" runat="server" class="date-pick" Columns="10"></asp:TextBox>&nbsp;&nbsp;
                        订单状态<asp:DropDownList ID="statusList" runat="server"></asp:DropDownList>&nbsp;&nbsp;
                        保险公司<asp:DropDownList ID="insList" runat="server"></asp:DropDownList>&nbsp;&nbsp;
                        保单类型<asp:DropDownList ID="proType" runat="server"></asp:DropDownList>&nbsp;&nbsp;
                        <asp:Button
                            ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" />
                    </p>
                    </form>
                </div>
            </div>
            <div class="infowrap">
                <div class="normalbox">
                    <h3>
                        订单列表</h3>
                    <asp:Literal ID="LitOrder" runat="server"></asp:Literal>
                </div>
                <cc1:Pager ID="pageInfo" runat="server" OnPageChanged="pageInfo_PageChanged" Css="cpager"
                    PageSize="10" PreText="上一页" NextText="下一页" ShowPreNext="true" NumericButtonCount="10" />
            </div>
        </div>
    </div>
    <script>G.app.mycenter.order.myorderinit();</script></asp:Content>
